package factory;

import javax.servlet.http.HttpSession;

import entity.Student;
import entity.Teacher;
import mapper.StudentMapper;
import mapper.TeacherMapper;
import model.StudentModel;
import model.TeacherModel;
import model.UserModel;

public class UserModelFactory {

	public static UserModel create(HttpSession session,Student student,StudentMapper studentMapper) {
		return new StudentModel(session,student,studentMapper);
	}
	public static UserModel cteate(HttpSession session,Teacher teacher,TeacherMapper teacherMapper) {
		return new TeacherModel(session,teacher,teacherMapper);
	}
	
}
